﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HelloMinasan.Domain;
using HelloMinasan.Domain.Dtos;
using HelloMinasan.Configuration;
using HelloMinasan.UserDefinedType.Dtos;

namespace HelloMinasan.Web.ViewModels
{
    public class FriendListModel
    {
        public FriendListModel()
        {
            CurrentPage = 1;
            PageSize = GeneralSetting.CommonPageSizeList;
            UserId = 0;
            TotalRecords = 0;
        }

        public int CurrentPage { get; set; }
        public int PageSize { get; set; }
        public int TotalRecords { get; set; }
        public int UserId { get; set; }
        public string FirstNameMember { get; set; }
        public string LastNameMember { get; set; }
        public string FullNameMember
        {
            get
            {
                return string.Format("{0} {1}", FirstNameMember, LastNameMember);
            }
        }

        public bool IsOwner { get; set; }
        public UserType CurrentUserType { get; set; }
        public IList<FriendDto> ListFriendDto { get; set; }
    }
}